package tech.yunjing.train.entity;

import java.io.Serializable;

/**
 * purpose：保存生成的验证码
 * Created by 吕祥 on 2017/6/8.
 */
public class VerificationCode implements Serializable {

    //验证码Id
    private long id;

    //验证码
    private String verificationCode;

    public VerificationCode() {
    }

    public VerificationCode(long id, String verificationCode, int status) {
        this.id = id;
        this.verificationCode = verificationCode;
        this.status = status;
    }

    //状态
    private int status;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(String verificationCode) {
        this.verificationCode = verificationCode;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "VerificationCode{" +
                "id=" + id +
                ", verificationCode='" + verificationCode + '\'' +
                ", status=" + status +
                '}';
    }
}
